package com.SpringBoot.role.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author bxk
 * @since 2025-09-20
 */
@Data
@TableName("role")
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色表主键
     */
    @TableId(value = "role_id", type = IdType.AUTO)
    private Integer roleId;

    /**
     * 关联用户表
     */
    private Integer userId;


    /**
     * 0-未删除 1-已删除
     */
    private Integer isDeleted;

    /*
    *
    * */
    private String roleName;


}
